package list

type Node struct {
	Val  int
	Next *Node
}

type List struct {
	size uint32
	head *Node
	tail *Node
}

func (list *List) init() {
	(*list).size = 0
	(*list).head = nil
	(*list).tail = nil
}

func (list *List) Append(node *Node) bool {
	if nil == node {
		return false
	}

	if (*list).size == 0 {
		(*list).head = node
	} else {

	}
	return false
}
